Version

GetJSONData(StringBuilder,String[],Boolean) Method

Outputs the data source object's data as JSON into a StringBuider.
Syntax
'Declaration
 
Public Overloads Sub GetJSONData( _
   ByVal stream As StringBuilder, _
   ByVal fieldNames() As String, _
   ByVal encodeDate As Boolean _
) 
public void GetJSONData( 
   StringBuilder stream,
   string[] fieldNames,
   bool encodeDate
)

Parameters

stream
Output stream.
fieldNames
Array of field names to return JSON for. Null signifies all available fields.
encodeDate
If this is true the DateTime objects get passed down as a string seperated by ~ .
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also